package org.zoomdev.zoom.aop.utils;

import org.objectweb.asm.AnnotationVisitor;

import java.util.HashMap;
import java.util.Map;

public class SimpleAnnotationProperty extends AnnotationVisitor {

    private Map<String, Object> map = new HashMap<>(10);

    protected SimpleAnnotationProperty(int api, AnnotationVisitor v) {
        super(api, v);
    }

    @Override
    public void visit(String name, Object value) {
        map.put(name, value);
        System.out.println(name + ":" + value);
        super.visit(name, value);
    }
}
